From owner-freebsd-arm@freebsd.org Fri Oct 9 20:28:49 2020 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6351842C40B for ; Fri, 9 Oct 2020 20:28:49 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) (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 4C7KR43vhDz4qkv; Fri, 9 Oct 2020 20:28:48 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wr1-x434.google.com with SMTP id x7so2970650wrl.3; Fri, 09 Oct 2020 13:28:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=x0WIGfvZciYolw74BX7ujrp+p8q3aybBOGOW4giBo+I=; b=a+7cQhWtv/BFcCKHye3FG15641NnRTzDPV5hDGG4uYVjBz32eFWqLM4zTYdb30xzOp ZDzTXwg+vi9CSHApPCLIhBMrLC2HZG/gHgXqjti+EUB5i4PizWhSp3D7o8uNZGf46JPx b7OGaSAnagj5TdPy18Nf79ybnHyt5atYQnmv7zqL/vbCXHTPkFeWowjmB6DELwY92ixv DNsvZlhkyTDLBPPK0UtbwmpOBexjVb8cvWo19iN/BaC+diZjxuk0zsUd4umZIUTn7Izb 9X/ddY3iqIajs+5JWaG3X7BriwrpySfkSk8eQJoYo1s4wfXelT40zsotm4u3m2ALCGj/ x9uQ== X-Gm-Message-State: AOAM532OrvF5fNz3k5ryRVKo0rNpS5Brn75L4PPJoHj4+WkZ7GaTta2t ZZw/y94illuf8UaqUQ7hsZw= X-Google-Smtp-Source: ABdhPJz0LtoLSxB37SctKhTOTD9FJeCxqP+PCxypZCCGzbg63UlxFKrrH/GjCixXwHZ5VSwf61s3kw== X-Received: by 2002:a5d:5609:: with SMTP id l9mr14726218wrv.140.1602275326035; Fri, 09 Oct 2020 13:28:46 -0700 (PDT) Received: from [192.168.1.167] (dynamic-046-114-104-055.46.114.pool.telefonica.de. [46.114.104.55]) by smtp.googlemail.com with ESMTPSA id o6sm13814066wrm.69.2020.10.09.13.28.43 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Oct 2020 13:28:45 -0700 (PDT) From: Klaus Cucinauomo Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.0.3.2.52\)) Subject: Re: RPi4B: emmc2bus dma-range handling does not track the boot-time-FDT (u-boot based booting) Date: Fri, 9 Oct 2020 22:28:42 +0200 References: <98BC985D-EAAB-4AFB-AA8F-7391A45C4EBF@yahoo.com> <91324D35-B66A-4674-AE37-45F3DDB736FD@yahoo.com> <2B3F0409-88F2-4EBD-9C39-37929F973C77@yahoo.com> To: Mark Millard , Kyle Evans , Robert Crowston , freebsd-arm@freebsd.org In-Reply-To: Message-Id: <803EF261-1407-4331-AC56-1D49E05F8382@googlemail.com> X-Mailer: Apple Mail (2.3654.0.3.2.52) X-Rspamd-Queue-Id: 4C7KR43vhDz4qkv X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.31 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[googlemail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-0.88)[-0.876]; FREEMAIL_TO(0.00)[yahoo.com,freebsd.org,protonmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.104.55:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.96)[-0.963]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-0.97)[-0.968]; MIME_GOOD(-0.10)[text/plain]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::434:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2020 20:28:49 -0000 > Am 09.10.2020 um 21:25 schrieb Mark Millard : >=20 >=20 > Linux has its own dts/dtsi/... sources instead of using the .dtb files > from the RPi folks, not directly based on any vintage of the RPi .dtb > files if I understand right=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6= .. FreeBSD imports the linux-dts : = https://github.com/freebsd/freebsd/tree/master/sys/gnu/dts/arm64/broadcom > =E2=80=A6=E2=80=A6=E2=80=A6. I use apt to update the ubuntu microsd = card once and a while. I simply used the Raspberry Pi Imager(automatically updates itself to = latest) to get a =E2=80=9Ereproducible" `latest`- msdos-partition of Ubuntu : https://www.raspberrypi.org/downloads/ And it booted FreeBSD on the 4GB-model from SSD(w/o SD-card) (until = reported hang) ( additionally I changed in config.txt from disable-bt to miniuart-bt) =E2=80=A6=E2=80=A6. >=20 > =E2=80=A6.. (=E2=80=9EUSB MSD boot also requires > the firmware from Raspberry Pi OS 2020-08-20 or newer.") Yes, , eeprom-update is a MustHave for 2020.10 USB-boot, it also can be done by formatting an firmware-SD-card with=20 the Raspberry Pi Imager - tool . My GUESSED(my favorite term since some time :-) following steps for the = 8GB-model should be: 'Special Agent kevans=E2=80=98=20 could inspect the following for dts and perhaps adopt it to fbsd-values = for an early=20 VL805-controller reset in u-boot : (That patches are not upstreamed yet afaik) = https://patchwork.ozlabs.org/project/linux-pci/patch/20200629161845.6021-4= -nsaenzjulienne@suse.de/ = https://patchwork.ozlabs.org/project/linux-pci/patch/20200629161845.6021-5= -nsaenzjulienne@suse.de/ Then we probably need `Special Agent Crowston=E2=80=99 again with his JTAG-Debugger=20 to read out the values where exactly Fbsd-boot-kernel hangs in 2020.10 = booted off of pure USB . .. sounds all quite easy , but possibly isn=E2=80=99t , as we know=E2=80=A6= Regards K.