Date: Tue, 1 Mar 2016 16:11:02 -0800 From: "Lundberg, Johannes" <johannes@brilliantservice.co.jp> To: Marcel Moolenaar <marcel@xcllnt.net> Cc: Ian Smith <smithi@nimnet.asn.au>, Warner Losh <imp@bsdimp.com>, "freebsd-mobile@freebsd.org" <freebsd-mobile@freebsd.org>, "freebsd-embedded@freebsd.org" <freebsd-embedded@freebsd.org> Subject: Re: hint.uart.1 in device.hints causes freeze at boot Message-ID: <CAASDrVmajULrZeLZkp63iSP_5gWRK68zt7hoqQ%2BtNJcepNxbKQ@mail.gmail.com> In-Reply-To: <00A3C4F0-AEEE-4341-9D5C-3810A9A08EA3@xcllnt.net> References: <CAASDrV=utCCDpAtN9jVEOOK=FbHiK7skJ6VkXptUZxX=9SAaBw@mail.gmail.com> <4E9118B0-FC9F-444F-B277-3E5BAE75C723@xcllnt.net> <CANCZdfpv_Ju34qqzo01mBj_c4F3YO9VdTJvCGWEDt1SUnu2M5A@mail.gmail.com> <20160227172039.F26318@sola.nimnet.asn.au> <CAASDrVmTxf1T9RngEAfW-ycibe_-hkbG3RNad07maFCWAYbasw@mail.gmail.com> <00A3C4F0-AEEE-4341-9D5C-3810A9A08EA3@xcllnt.net>
index | next in thread | previous in thread | raw e-mail
Hi Marcel Switching to PCI does not help the halting boot, only disabling UART1 does. I'm working with UART0 (in PCI mode with Adafruit cable) to get serial console output but all I get is garbage (question marks with filled elliptic background) from BIOS. When kernel is loaded output stops. Where did you get this info? hw.uart.console="mm:0xd0810000,br:115200,rs:2,xo:44236800 The only info I can find is that this address is for the sound chip(?).. Even though HDMI is working out of the box it would be nice to also have serial console for when you don't wanna carry around a big monitor... On Sat, Feb 27, 2016 at 9:22 AM, Marcel Moolenaar <marcel@xcllnt.net> wrote: > > On Feb 27, 2016, at 5:54 AM, Lundberg, Johannes < > johannes@brilliantservice.co.jp> wrote: > > >though I've no clue why or how that should cause a boot failure? > > Verbose logging don't give any clues either.. It just stops. > > > On the Atom SoC I have, you can configure the UARTs as PCI or ACPI devices. > They work as PCI devices but required better support for memory mapped low- > level consoles in x86. If configured as ACPI (supposedly compatible), they > just > don’t work. I belief FreeBSD would just hang when configured as ACPI, but > I’m > foggy on that detail. > > Key is that they we’re trimmed-down UARTs (3-wire functionality) and thus > weird > beasts... > > Johannes: If your BIOS has the same capability, try switching. PCI mode is > well > supported in FreeBSD, though requires something like the following in your > loader.conf: > > hw.uart.console="mm:0xd0810000,br:115200,rs:2,xo:44236800 > > This tells the uart(4) driver that the device is memory mapped (at I/O > address 0xd0810000, uses 32-bit register access and has a non-standard > clock input of 44236800 (=44Mhz). > > -- > Marcel Moolenaar > marcel@xcllnt.net > > -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。 もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、 複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。 --- CONFIDENTIALITY NOTE: The information in this email is confidential and intended solely for the addressee. Disclosure, copying, distribution or any other action of use of this email by person other than intended recipient, is prohibited. If you are not the intended recipient and have received this email in error, please destroy the original message.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAASDrVmajULrZeLZkp63iSP_5gWRK68zt7hoqQ%2BtNJcepNxbKQ>
