From nobody Mon Oct 24 21:30:11 2022 X-Original-To: freebsd-arm@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 4Mx7XC28VQz4gpW2 for ; Mon, 24 Oct 2022 21:30:19 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic307-9.consmr.mail.ne1.yahoo.com (sonic307-9.consmr.mail.ne1.yahoo.com [66.163.190.32]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mx7XB2QsXz3Brg for ; Mon, 24 Oct 2022 21:30:18 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1666647017; bh=sh8bDu2rftf4kFDRKYqdwbO5Dr9Bp8tyUedgQIG3fkg=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=UaiPEsah1aVmJekOP7wR9OFE6z55i3nGESJmTeiWwXU/IBzzlAHZBNTPzzw28cuKzeugplCObj0iRozwhoaeCKNbIGXS2GdrGRW6mJFYEsTFOZMGjQ+dJbszWqRGIa5W7zx+fLmnFJStjhPcnIrwYpZYjKig/OqwNIZH8CgNiDSf8mCg09rFzIOSG/SUbQyKj8MQBdRqDBr0P7LiXi1Gx2xCbsIAGaPn2GrLacZ4Wf63FuaoAiOCi/qj+w7v+gnWensJVLnFuDd/+k3pKcnhJHZi+bfQ5uq7ikJ/gORYDQ54HjB4O6ShZDRzEZqf9bv62SF9FwkDXMi4cqEz3LZ+ug== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1666647017; bh=8HyAvqJZbxUGtR2rwLp8IeRxTdCDfw8qpBoJ/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w4fW8peiMWsQMepmm3gk4yVgz0X8zWn5BweoG_3mldt818gcCBY C5YyxyPaRdIfR2lWT_96VmBOuoLYt37VOCZMEG_s2R5JQjIa8PplgFLS5MvVq3ol5GEWkAmU5SjE qXnKbFzyLFuHrMnDt3TH5vlzs36qfbda54IIBJ9UQaDMo5J.XrP_lUk0aU8VylaB6DSoD306b7jk FENvmT7kZCa0VjKTxhCqX641fm8FeLJ3HaQ97NFp9.H31sgk1fR38qxKWCgtycoPqCQPQiWA9p2V r68jTyKJ9ZqXm8EkCFEyTo3XIbXMBNqA4QsLwyi4nc6ewF8m.iI.gQu3EZpkEqME6AGWD4SBR5Ul QhIFHJB1QYgCudjFWWYxbZWWyBt4j8VC7T.ujo_xxC1v3YacHaPMs95oP4XdFVnscowqOEFoqB3T FUVqeUKUR7LaQ8XjqJsT9X2j28U3VdK2R6Q9QBVBL4tLUzk4e1WB51KmrpKOiJm.Q2yIV08KZWR_ 70dgFRWjufUcbOSblQTPqb5UiK3sEI7PWDS2rft5d.KWF6ySpCB6l3XYjiYBNSdhpvFM86stPdA- - X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ne1.yahoo.com with HTTP; Mon, 24 Oct 2022 21:30:17 +0000 Received: by hermes--production-gq1-754cb59848-v9h2d (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 5b41ee1f3bd7c4cac8eab738942fc16c; Mon, 24 Oct 2022 21:30:11 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: BeagleBone uboot: BeagleBone Green Gateway not defined in uboot? From: Mark Millard In-Reply-To: <467642CD-DF11-448C-AACA-43F7FB4DB572@yahoo.com> Date: Mon, 24 Oct 2022 14:30:11 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <50347B94-0B6D-463C-9B87-499EBEA537D7@yahoo.com> References: <0EDDBAEA-CA91-4A64-BB93-BCB5D067BE00@netsense.nl> <467642CD-DF11-448C-AACA-43F7FB4DB572@yahoo.com> To: Johan Henselmans X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Rspamd-Queue-Id: 4Mx7XB2QsXz3Brg X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=UaiPEsah; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 66.163.190.32 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-2.46 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-0.995]; NEURAL_HAM_SHORT(-0.96)[-0.962]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; MV_CASE(0.50)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; RCVD_IN_DNSWL_NONE(0.00)[66.163.190.32:from]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; DKIM_TRACE(0.00)[yahoo.com:+]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org] X-ThisMailContainsUnwantedMimeParts: N On 2022-Oct-24, at 14:05, Mark Millard wrote: > On 2022-Oct-24, at 12:35, Johan Henselmans wrote: >=20 >> I have tried to boot a Beaglebone Green Gateway via the current = GenericSD.img.xz at = https://download.freebsd.org/ftp/releases/arm/armv7/ISO-IMAGES/13.0/FreeBS= D-13.0-RELEASE-arm-armv7-GENERICSD.img.xz >=20 > You list 13.0-RELEASE 's image instead of 13.1-RELEASE 's image: >=20 > = http://ftp3.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/13.1/FreeBSD-13.1-= RELEASE-arm-armv7-GENERICSD.img.xz >=20 > (I've no clue if it makes a difference.) >=20 >> The board booted, but it did not have anything functional in the = sense of wland or ethernet. >>=20 >> So I installed (after putting the SD-card in a BeagleBone Green, = which was able to find an ethernet port and a working internet = connection) the beaglebone uboot: >> =3D=3D=3D=3D=3D >> pkg install sysutils/u-boot-beaglebone >> =3D=3D=3D=3D=3D >=20 > pkg install sysutils/u-boot-beaglebone >=20 > only puts things in the likes of: >=20 > /usr/local/share/u-boot/u-boot-beaglebone/ >=20 > /usr/local/share/u-boot/u-boot-beaglebone/ probably ended up > with a README or some such file name for the content shown > below. >=20 > # more /usr/ports/sysutils/u-boot-beaglebone/pkg-descr=20 > U-Boot loader for BeagleBone and BeagleBone Black. >=20 > To install this bootloader, copy the files MLO and bb-uboot.img to the = FAT > partition on an SD card or the eMMC. Normally this is partition 1, = but > different partitions can be set with U-Boot environment variables. >=20 > This version is patched so that: > * API features are enabled. > * A boot.scr (U-Boot scripts ) that loads ubldr.bin and execute it is = included >=20 > For information about running FreeBSD on BeagleBone or BeagleBone = Black, see > https://wiki.freebsd.org/FreeBSD/arm/BeagleBone >=20 >=20 >=20 > You were not explicit. Did you do as described with MLO > and bb-uboot.img ? >=20 >=20 >> That resulted in the message that there was no device tree: >> =3D=3D=3D=3D=3D >> Loading Environment from EXT4... >> ** Unable to use mmc 0:1 for loading the env ** >> Board: BeagleBone Black >> not set. Validating first E-fuse MAC >> BeagleBone Black: >> Model: SeeedStudio BeagleBone Green Gateway: >> BeagleBone: cape eeprom: i2c_probe: 0x54: >> BeagleBone: cape eeprom: i2c_probe: 0x55: >> BeagleBone: cape eeprom: i2c_probe: 0x56: >> BeagleBone: cape eeprom: i2c_probe: 0x57: >> Net: eth0: MII MODE >> cpsw, usb_ether >> Press SPACE to abort autoboot in 0 seconds >> board_name=3D[A335BNLT] ... >> board_rev=3D[GG1A] ... >> switch to partitions #0, OK >> mmc0 is current device >> SD/MMC found on device 0 >> switch to partitions #0, OK >> mmc0 is current device >> Scanning mmc 0:1... >> Found EFI removable media binary efi/boot/bootarm.efi >> libfdt fdt_check_header(): FDT_ERR_BADMAGIC >>=20 >> >> No valid device tree blob found! >> WARNING! Trying to fire up the kernel, but no device tree blob found! >> =3D=3D=3D=3D=3D >>=20 >>=20 >> How can I add a device tree blob for the BeagleBone Green Gateway? >>=20 >=20 > Note: I've no experience with any BeagleBone variant. > My comments are rather generic. >=20 Hmm, I do not see am335x-bonegreen-gateway.dts in any of the source code trees I've got for releng/13.0 , releng/13.1 , stable/13 , or main [so: 14] : /usr/13_0R-src/sys/contrib/device-tree/src/arm/am335x-bone.dts = /usr/13_0R-src/sys/contrib/device-tree/src/arm/am335x-boneblack-wireless.d= ts /usr/13_0R-src/sys/contrib/device-tree/src/arm/am335x-boneblack.dts /usr/13_0R-src/sys/contrib/device-tree/src/arm/am335x-boneblue.dts = /usr/13_0R-src/sys/contrib/device-tree/src/arm/am335x-bonegreen-wireless.d= ts /usr/13_0R-src/sys/contrib/device-tree/src/arm/am335x-bonegreen.dts /usr/13_1R-src/sys/contrib/device-tree/src/arm/am335x-bone.dts = /usr/13_1R-src/sys/contrib/device-tree/src/arm/am335x-boneblack-wireless.d= ts /usr/13_1R-src/sys/contrib/device-tree/src/arm/am335x-boneblack.dts /usr/13_1R-src/sys/contrib/device-tree/src/arm/am335x-boneblue.dts = /usr/13_1R-src/sys/contrib/device-tree/src/arm/am335x-bonegreen-wireless.d= ts /usr/13_1R-src/sys/contrib/device-tree/src/arm/am335x-bonegreen.dts /usr/13S-src/sys/contrib/device-tree/src/arm/am335x-bone.dts = /usr/13S-src/sys/contrib/device-tree/src/arm/am335x-boneblack-wireless.dts= /usr/13S-src/sys/contrib/device-tree/src/arm/am335x-boneblack.dts /usr/13S-src/sys/contrib/device-tree/src/arm/am335x-boneblue.dts = /usr/13S-src/sys/contrib/device-tree/src/arm/am335x-bonegreen-wireless.dts= /usr/13S-src/sys/contrib/device-tree/src/arm/am335x-bonegreen.dts /usr/main-src/sys/contrib/device-tree/src/arm/am335x-bone.dts = /usr/main-src/sys/contrib/device-tree/src/arm/am335x-boneblack-wireless.dt= s /usr/main-src/sys/contrib/device-tree/src/arm/am335x-boneblack.dts /usr/main-src/sys/contrib/device-tree/src/arm/am335x-boneblue.dts = /usr/main-src/sys/contrib/device-tree/src/arm/am335x-bonegreen-wireless.dt= s /usr/main-src/sys/contrib/device-tree/src/arm/am335x-bonegreen.dts Looks like you would have to establish am335x-bonegreen-gateway.dtb another way as things are. I also did not find am335x-bonegreen-gateway.dtb in: https://github.com/torvalds/linux/tree/master/arch/arm/boot/dts/ so it would likely be some time before it shows up there for FreeBSD to later import. =3D=3D=3D Mark Millard marklmi at yahoo.com