From nobody Mon Oct 24 21:05: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 4Mx6zS31gJz4glp5 for ; Mon, 24 Oct 2022 21:05:24 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic306-22.consmr.mail.ne1.yahoo.com (sonic306-22.consmr.mail.ne1.yahoo.com [66.163.189.84]) (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 4Mx6zQ0WcLz47Rm for ; Mon, 24 Oct 2022 21:05:22 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1666645520; bh=Zc/k++H52gi9NPQcV8ZFts5vbgZ1z1HFqvrc1JHnlWE=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=pcjj1hcTVcVhWnbvouVjqHiSXTfM5u0gcByFVQVpT0c965u9kbEyqdhb0xkFSeZ5W50yQ+P7x1sSDw9a1NfmRSgPhpj1ZaP3oSsoCFtHBhl6PymrLs8XEOAENZy5ssDKtrTkWDFTfNYYA0WD0sdLDiZ0dpaMSBGFQodZAeMuexhrRNxvNynXDI4WwNIN3i8y56PISPJUfcBBwypGiwe6EeRrpL6nYHB/VKwRg5BKQThG2ajzP1+c8M/k/QkUsLbssQxS61+iQgSa45AF3hkj11mz1nyYbN7oiq8Jk8d80OmCwRDK4f+hWmkg8W5OW132yu80s59OenQ1J+Kfovx78Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1666645520; bh=c1yj3SK2dMvsSc1FmCz+nO5A4U9g2ydhIMXBf/wT5D7=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2asECY5GHNhaKcp9S99FmYtPqgwNfxPeiBVu3T DE5FfOUmd6ljDBt7.Rhl_jES8KCwE5a6B1I_Ta33n20N7jhEGrOZkqCpnfXRiAUp223fJle2kd94 p01WjWZEOr75dxCc5yu2PG7XgpRDWI_tYr3r8tj53uDYONqmzR6T0fLTWk7t5clfWuxPxLTsHxdI 0TT_U3PdvM9Pceq2AAdiLx1K5YJj.vVkI0NYRXkH4nWEbAJQAwLb8nKOJgvsPvOWBskVVOnzzLdi omJClM3MfwHCNq_Ttk63kJoAIkU2kUdxCMpLQPpuV8y6a0cVfUdSGaZXgBuYmM26uKUHucN5m83l 5e0.vExZ2kSuazpIaNzdlcIDpOct6kiaNWGvgctwgdiSxv54kdVL0E9LFcEPrS91VOgfCLOsvwW1 3cGmk7ZdI.yf_3IdSehMOzftVmPe5zMSUud3dKrhBsLqBgAf.pzpda0JUj3.0pwoq.cN7I9XpUJT 3jBKerVk.BQLmb4RLd9Ut00NS3yP1cEP2DDrKp0DYP8o4Kw44iUErWsmZ2tpppcsWJtuBpxt2yQ- - X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ne1.yahoo.com with HTTP; Mon, 24 Oct 2022 21:05:20 +0000 Received: by hermes--production-ne1-c47ffd5f5-8txkx (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 89dc10127bf08241d5f8826953146c27; Mon, 24 Oct 2022 21:05:14 +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: <0EDDBAEA-CA91-4A64-BB93-BCB5D067BE00@netsense.nl> Date: Mon, 24 Oct 2022 14:05:11 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <467642CD-DF11-448C-AACA-43F7FB4DB572@yahoo.com> References: <0EDDBAEA-CA91-4A64-BB93-BCB5D067BE00@netsense.nl> To: Johan Henselmans X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Rspamd-Queue-Id: 4Mx6zQ0WcLz47Rm X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=pcjj1hcT; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 66.163.189.84 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-2.34 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.996]; NEURAL_HAM_SHORT(-0.85)[-0.845]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCVD_IN_DNSWL_NONE(0.00)[66.163.189.84:from]; MID_RHS_MATCH_FROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; 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)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.163.189.84:from] X-ThisMailContainsUnwantedMimeParts: N On 2022-Oct-24, at 12:35, Johan Henselmans wrote: > 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 You list 13.0-RELEASE 's image instead of 13.1-RELEASE 's image: = http://ftp3.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/13.1/FreeBSD-13.1-= RELEASE-arm-armv7-GENERICSD.img.xz (I've no clue if it makes a difference.) > 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 pkg install sysutils/u-boot-beaglebone only puts things in the likes of: /usr/local/share/u-boot/u-boot-beaglebone/ /usr/local/share/u-boot/u-boot-beaglebone/ probably ended up with a README or some such file name for the content shown below. # more /usr/ports/sysutils/u-boot-beaglebone/pkg-descr=20 U-Boot loader for BeagleBone and BeagleBone Black. 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. 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 For information about running FreeBSD on BeagleBone or BeagleBone Black, = see https://wiki.freebsd.org/FreeBSD/arm/BeagleBone You were not explicit. Did you do as described with MLO and bb-uboot.img ? > 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 Note: I've no experience with any BeagleBone variant. My comments are rather generic. =3D=3D=3D Mark Millard marklmi at yahoo.com