Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Mar 2016 15:40:43 -0600
From:      Erik Moe <e.moe@rcn.com>
To:        Andrew Turner <andrew@fubar.geek.nz>
Cc:        Warner Losh <imp@bsdimp.com>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: FreeBSD on the RaspberryPi 3
Message-ID:  <8E0082B4-9A6D-4AA4-9E58-591D962247CC@rcn.com>
In-Reply-To: <20160305205453.24bfca73@zapp.Home>
References:  <20160229225811.GB74374@server.rulingia.com> <CAFDgZgVBrByCGaZC9FhUgvwv9YpNQkQgrhGNCoS82SjCmyCnMw@mail.gmail.com> <CANCZdfpH126YH%2Bn7-p5txfJN%2BRVdyCMEjck4uhNdJBG0Xie7rg@mail.gmail.com> <20160304135821.79d140ae@zapp> <3265A43A-885B-42F8-984E-46C385FECFA2@rcn.com> <20160305205453.24bfca73@zapp.Home>

next in thread | previous in thread | raw e-mail | index | archive | help
Nice!  That fixed the serial console issues.  It gets as far as loading =
the kernel, but that=E2=80=99s about it.

U-Boot 2015.04 (Feb 17 2016 - 10:41:14)

DRAM:  944 MiB
WARNING: Caches not enabled
RPI: Board rev 8 outside known range
RPI Unknown model
MMC:   bcm2835_sdhci: 0
reading uboot.env

** Unable to read "uboot.env" from mmc0:1 **
Using default environment

In:    serial
Out:   lcd
Err:   lcd
Net:   Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot:  0
Booting from: mmc 0 ubldr
reading ubldr
262739 bytes read in 330 ms (777.3 KiB/s)
## Starting application at 0x02000094 ...
Consoles: U-Boot console
Compatible U-Boot API signature found @3ab4a4c8

FreeBSD/armv6 U-Boot loader, Revision 1.2
(root@releng2.nyi.freebsd.org, Wed Feb 17 11:04:47 UTC 2016)

DRAM: 944MB
Number of U-Boot devices: 1
U-Boot env: loaderdev=3D'mmc 0'
Found U-Boot device: disk
  Checking unit=3D0 slice=3D<auto> partition=3D<auto>... good.
Booting from disk0s2a:
/boot/kernel/kernel data=3D0x5f7ee4+0xf011c =
syms=3D[0x4+0x820c0+0x4+0x9490f]

Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
Using DTB provided by U-Boot at address 0x100.
Kernel entry at 0x2200100...
Kernel args: (null)

> On Mar 5, 2016, at 2:54 PM, Andrew Turner <andrew@fubar.geek.nz> =
wrote:
>=20
> Try setting "init_uart_clock=3D3000000".
>=20
> Andrew
>=20
> On Sat, 5 Mar 2016 14:49:43 -0600
> Erik Moe <e.moe@rcn.com> wrote:
>=20
>> My RaspberryPi 3 arrived last night.  I=E2=80=99ve taken the latest =
RPI-2
>> snapshot and updated to the latest firmware.  I can tell it=E2=80=99s =
booting
>> up, but it=E2=80=99s getting hung up somewhere.  I can=E2=80=99t tell =
where because
>> the serial console is spitting out gibberish.  The serial console
>> issue is not specific to FreeBSD.  I had the same issue trying to get
>> the serial console working on Raspbian.  There is a thread discussing
>> the problem here:  https://github.com/RPi-Distro/repo/issues/22.  On
>> Raspbian I was able to get around the serial console issue by adding
>> "force_turbo=3D1=E2=80=9D to the config.txt, but that doesn=E2=80=99t =
seem to work on
>> FreeBSD.
>>=20
>> Erik
>>=20
>>=20
>>> On Mar 4, 2016, at 7:58 AM, Andrew Turner <andrew@fubar.geek.nz>
>>> wrote:
>>>=20
>>> On Wed, 2 Mar 2016 11:57:48 -0700
>>> Warner Losh <imp@bsdimp.com> wrote:
>>>=20
>>>> I suspect that we'll need an aarch64 kernel and userland, at the
>>>> very least, to make this work. Plus there's likely some dragons
>>>> hiding in uboot / ubldr. =20
>>>=20
>>> Someone should try updating the firmware on the RPI2 image, and
>>> teaching the kernel about the Cortex-A53 in cpufunc.c. I suspect
>>> with these two FreeBSD will boot in AArch32.
>>>=20
>>> Andrew
>>> _______________________________________________
>>> freebsd-arm@freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
>>> To unsubscribe, send any mail to
>>> "freebsd-arm-unsubscribe@freebsd.org" =20
>>=20
>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8E0082B4-9A6D-4AA4-9E58-591D962247CC>