From nobody Mon Dec 9 08:35:02 2024 X-Original-To: stable@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 4Y6FYB4gTrz5gSXK for ; Mon, 09 Dec 2024 08:35:10 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y6FYB1kbgz4YQ3; Mon, 9 Dec 2024 08:35:10 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.huji.ac.il; s=57791128; h=To:References:Message-Id:Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type; bh=JftV8pX4CoslNCQhjEu+XG3r3BpJijUbX9bdRQsOcr0=; b=YIlt9Py8UQPzmeATD8Tngdbvl1o4xHdQBM+othbFeQDUbr6ULCRz1VMSAC3s3PWjXBBPEd+HLakvqMBae+ZBh1rD8PfztRl9ZtcZPceon4DW18v18hppGUTHNqJtA9DhWZgHClz+bPHX7ElIyn7FYqb5U1yW6b8ka+B8oJ1KLYuToW7Vua/sycHy7xZsj2bOMYDCW9EKD5bbq4/gxZZcWy3BTkzstZ+IKy1aLDQtNScH20AWxBjNxBfaUQ0fTHfnUGKSwPAIOEEv2OASMyWzxZGiD7UjEl6TLbufJnyHbaboffWj965xrWq6BfjoKUeWZhvy94+TTyNwPxWUtnmcNA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cse.huji.ac.il; s=57791128; h=To:References:Message-Id:Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type; bh=JftV8pX4CoslNCQhjEu+XG3r3BpJijUbX9bdRQsOcr0=; b=2P+vr4lEiFNqKyuH4m0af9l8ECfdEq/IkftbdVcdvSV6HhEuyUZX6JXgSzFJMNVWpYCaTyPmr4Yyh0EL5L8usNFpqnvGXSFz35SrjaHr/E05aqmCrmk/TU1uQ8fpqT3DDnGJDQyHjO9xoPNLiTF1AAV9lQP/rp7Ta/itPM5T9Q+QGLPt/BuKtXM9QfoHjPXUeF1mPz4FecbPR857Zg1Rd8utea6KP7K92ss47e9pjCU4mvMrMaCZIBXe10myh9ENwfzXm6tgN63REohgdiFr2zFAxwJtZzcb8B50yqsXMleN0PgbrHD9kBIlsx4NWdKhQoLhfMx3MrrQi7+kmQjKeQ==; Received: from bach.cs.huji.ac.il ([132.65.80.20] helo=smtpclient.apple) by kabab.cs.huji.ac.il with esmtp id 1tKZEM-000ENG-Nx; Mon, 09 Dec 2024 10:35:02 +0200 Content-Type: text/plain; charset=us-ascii List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-stable@freebsd.org Sender: owner-freebsd-stable@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.10\)) Subject: Re: not working /dev/console From: Daniel Braniss In-Reply-To: Date: Mon, 9 Dec 2024 10:35:02 +0200 Cc: Warner Losh , Freebsd-stable List Content-Transfer-Encoding: quoted-printable Message-Id: <3F04B2DC-1AA9-4663-BCDE-3EFD0B01527E@cs.huji.ac.il> References: <365D866D-F7D2-4DB6-AFFB-B4C3829D8467@cs.huji.ac.il> To: Kurt Jaeger X-Mailer: Apple Mail (2.3696.120.41.1.10) 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:378, ipnet:132.64.0.0/15, country:IL] X-Rspamd-Queue-Id: 4Y6FYB1kbgz4YQ3 X-Spamd-Bar: ---- hi Kurt & Warner: im trying on a PCengines apu2 fbsd 14.2, but have the same symptoms, no = console. dmesg|grep uart -> nothing. after some trials the best i have is: the bsd-menu showing=20 5. Cons: Serial and only the kernel messages. no /dev/console, no /dev/ttyu0, but can remote login. btw, all works fine with a 13.1 kernel > On 8 Dec 2024, at 20:27, Kurt Jaeger wrote: >=20 > Hi! >=20 >> So, there should be a line like >>=20 >> uart0: console (115200,n,8,1) >>=20 >> if not, then hw.uart.console isn't making it through. >=20 > So somehow the uarts are not found during initialization ? >=20 >> If you are using a custom kernel, >=20 > It's the generic kernel. >=20 >> you can add that to a file and add 'env >> /path/to/file/on/build/host' to the kernel config to wire that into = the >> kernel, should the boot path make it hard to set an initial = environment >> otherwise. Also, DHCP should still try to grab /boot/loader.conf from = the >> tftp/http server as well. That might also be something that needs = debugging >> (or hopefully just correct config). >=20 > I'll investigate further. >=20 > --=20 > pi@FreeBSD.org +49 171 3101372 Now what ?