From nobody Wed Jan 10 02:16:03 2024 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 4T8ryC04bXz57GL4 for ; Wed, 10 Jan 2024 02:16:19 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T8ryB4s2Kz4mn8 for ; Wed, 10 Jan 2024 02:16:18 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-a298accc440so418204266b.1 for ; Tue, 09 Jan 2024 18:16:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1704852976; x=1705457776; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=QMd4qR/uKbMaTtAwMFLAAuQe24NS9TULqNiOhBb0yD0=; b=CsIAmOqZDc0I6duKPAknSrlzWkDZt2aemBzqTqb5tPDhz3NgvruG7Z/1+k9LajgLJ8 VQ1XDACjTLELwLBKgmOZ6obosiV8k+3ESTQZdPQ/+DaLLdnEjx6GV85Nw+YQ/TjugPwX RkZqeRUKYajhOR9KT21kYN2EMw+h1fRoxEkZmmfz4CeLIIhBAmzXFFpsrXMuJPHExU3q gwhkg1jVeVYkIRAnhjQHnPUiT9tTJPVeW7PYz0ayWbMpgIsuSYmq9qOjjGHoq4RYI0Uz D2VwqtXoCAa27c/tU8D2DuZU/MQ7KEX/ZqES75qGuBJQh5hZPSCrevi/KNib4wFxLeco hNmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704852976; x=1705457776; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=QMd4qR/uKbMaTtAwMFLAAuQe24NS9TULqNiOhBb0yD0=; b=EHQKmmcKiH0TimCZczLS4nPoCEcwcNRHZOvnHj8v91sT9WklCYpppLCsL3PY5ev3iM /j4zK4keRNpdvTam19O6lSFAfRVem9r5/VL3jI+XyVgUuVKTC0AJZ6pj04LN1vIhRx/F UaBVeo37pSc7FVNwPPfvq/Z6prJxgUkXMQuLP9kCny7lCDC+4OqBGo4z01eOY9V0OTpg N22hNd5B1UMZUjBwrgq8t7ITYhuexkc4uLAciAEdN84wZc8bPSro9kHxpGM/NTlej3aY c9zR5QL1ea9CSFQr8FW5thBW0b6mN1k266c1IFY0hq/1KMo+tZF3bko5pVnGRtmbwSDr Eibw== X-Gm-Message-State: AOJu0YzOWMPnut9jeJWwzFLY9DYXwGw2qH/eyR+ni0HZbfHTLfMuFdXh 3tyX9+92vHe5X1r5+xRJkwEqF7XvdeNCkDTiRQyRmgUX2AE8AJa9ruAIBjZt9Gg= X-Google-Smtp-Source: AGHT+IGFHhjBO3oJW6e1S3oBqPijpSd+V0ESeAyWvqYXzS9CI7MxeESwtNwCF5ZogcOmRsqv3WyBhIpruSEWDcu/uNM= X-Received: by 2002:a17:906:bc86:b0:a28:f771:ba67 with SMTP id lv6-20020a170906bc8600b00a28f771ba67mr214276ejb.131.1704852975623; Tue, 09 Jan 2024 18:16:15 -0800 (PST) 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 References: In-Reply-To: From: Warner Losh Date: Tue, 9 Jan 2024 19:16:03 -0700 Message-ID: Subject: Re: Nanobsd builds for rpi3 out of embedded blow up during build To: Karl Denninger Cc: "freebsd-arm@freebsd.org" Content-Type: multipart/alternative; boundary="00000000000001aeaf060e8e041c" X-Rspamd-Queue-Id: 4T8ryB4s2Kz4mn8 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] --00000000000001aeaf060e8e041c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Jan 9, 2024, 6:30=E2=80=AFPM Karl Denninger wr= ote: > Is this supposed to work? > > root@NewFS:/usr/src/tools/tools/nanobsd/embedded # sh ../nanobsd.sh -b -c > rpi3.cfg > > It doesn't. I do have: > > root@NewFS:/usr/ports # pkg info|grep rpi3 > u-boot-rpi3-2023.10_1 Cross-build das u-boot for model rpi3 > > Which ought to be current. > > I get errors missing ubldr (which from my Crochet builds does not appear > to be required) and also the dtb files are either somewhere other than > expected because the firmware package is there, but I get this when > commenting out the ubldr copy: > > root@NewFS:/usr/embedded/rpi3 # tail _.cust.dos_boot_part > + local 'd=3D/usr/local/share/u-boot/u-boot-rpi3' > + local 'f=3D/usr/embedded/rpi3/_.fat' > + rm -rf /usr/embedded/rpi3/_.fat > + mkdir /usr/embedded/rpi3/_.fat > + chdir /usr/embedded/rpi3/_.fat > + cp /usr/local/share/u-boot/u-boot-rpi3/README > /usr/local/share/u-boot/u-boot-rpi3/metadata > /usr/local/share/u-boot/u-boot-rpi3/u-boot-working-previous.bin > /usr/local/share/u-boot/u-boot-rpi3/u-boot.bin > /usr/local/share/u-boot/u-boot-rpi3/u-boot.bin.broken . > + [ -f /usr/embedded/rpi3/_.w/boot/ubldr ] > + touch uEnv.txt > + cp '/usr/embedded/rpi3/_.w/boot/dtb/*.dtb' . > cp: /usr/embedded/rpi3/_.w/boot/dtb/*.dtb: No such file or directory > > Which of course implies they're not in the world's "boot" directory, and > indeed they're not. > > I can keep working around this but I assuming I'm missing something > obvious..... or is this just broken/deprecated? > I think just broken. It's been a while since i tested everything. Warner > -- > Karl Denninger > karl@denninger.net > *The Market Ticker* > *[S/MIME encrypted email preferred]* > --00000000000001aeaf060e8e041c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Tue, Jan 9, 2024, 6:30=E2=80=AFPM Karl Denninger &l= t;karl@denninger.net> wrote:
=20 =20 =20

Is this supposed to work?

root@NewFS:/usr/src/tools/tools/nanobsd/embedded # sh ../nanobsd.sh -b -c rpi3.cfg

It doesn't.=C2=A0 I do have:

root@NewFS:/usr/ports # pkg info|grep rpi3
u-boot-rpi3-2023.10_1=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 Cross-build das u-boot for model rpi3

Which ought to be current.

I get errors missing ubldr (which from my Crochet builds does not appear to be required) and also the dtb files are either somewhere other than expected because the firmware package is there, but I get this when commenting out the ubldr copy:

root@NewFS:/usr/embedded/rpi3 # tail _.cust.dos_boot_part
+ local 'd=3D/usr/local/share/u-boot/u-boot-rpi3'
+ local 'f=3D/usr/embedded/rpi3/_.fat'
+ rm -rf /usr/embedded/rpi3/_.fat
+ mkdir /usr/embedded/rpi3/_.fat
+ chdir /usr/embedded/rpi3/_.fat
+ cp /usr/local/share/u-boot/u-boot-rpi3/README /usr/local/share/u-boot/u-boot-rpi3/metadata /usr/local/share/u-boot/u-boot-rpi3/u-boot-working-previous.bin /usr/local/share/u-boot/u-boot-rpi3/u-boot.bin /usr/local/share/u-boot/u-boot-rpi3/u-boot.bin.broken .
+ [ -f /usr/embedded/rpi3/_.w/boot/ubldr ]
+ touch uEnv.txt
+ cp '/usr/embedded/rpi3/_.w/boot/dtb/*.dtb' .
cp: /usr/embedded/rpi3/_.w/boot/dtb/*.dtb: No such file or directory

Which of course implies they're not in the world's "boo= t" directory, and indeed they're not.

I can keep working around this but I assuming I'm missing something obvious..... or is this just broken/deprecated?


I = think just broken. It's been a while since i tested everything.=C2=A0

Warner

--
Karl Denninger
karl@denninger.net
The Market Ticker
[S/MIME encrypted email preferred]
--00000000000001aeaf060e8e041c--